---------------------------------------------------------------
- This is a stripped down exe from Epic GTA2 Map Editor by T.M.
-
- Supports only command line functions to save minimap.
- Doesnt need OpenGL to render minimaps.
-
- Version 1.05 (Last update: 18.07.2010)
-
---------------------------------------------------------------
- Changelog (1.0 -> 1.05):
--- Fixed "-bluewater" command to not render always blue water.
--- Fixed crash on invalid style files.
---------------------------------------------------------------

Example of .bat file contents:
gta2minimap.exe -saveminimap -mmp "C:\GTA 2\data\mymap.mmp" -out "J:\minimap.jpg" -size 512 -jpg_quality 10 -bluewater 1 -benchmark 0 -debug 0


Use "-sty" and "-gmp" to define style and map file paths, otherwise use "-mmp".

"-out" defines the output image file path, allowed filetypes: BMP, TGA, JPG.

"-size" defines output image width and height, accepts values: 256, 512, 1024 and 2048.

"-jpg_quality" defines the compression ratio, 1 = best, 100 = worst.

"-bluewater" 1, 0 or 2, "1" will render blue water if the sty file is using default GTA2 water tiles. "2" will always render blue water. "0" will use gta2 water color. 

"-benchmark 1" writes program processing time in seconds into file "benchmark.txt" in the exe folder. 

"-debug 1" can be used to see what went wrong on image saving (will give popup message).

Note: All files must be FULL PATHS to the file (like in the examples).

Notice!: Always use quotemarks around file paths (if you have spaces in the paths, it will break without quotemarks). Preferred to always use quotemarks on file paths.